$(function(){
	console.log("页面加载完成事件");
	/**
	 * 条件：审核未通过
	 * @returns
	 */
	$.ajax({
		url:"personalInformation/findAuditFailed",
		type:"post",
		dataType:"json",
		success:function(map){
			var htmlStr="";
			var appList = map.applicanttableList;
			for( var i = 0; i < appList.length; i++ ){
				htmlStr+="<tr align='center'>"
				htmlStr+="<td>"+(i+1)+"</td>"
				htmlStr+="<td><a href='userUpdate.html?id="+appList[i].id+"'>"+appList[i].name+"</a></td>"
				htmlStr+="<td>"+appList[i].mobilephone+"</td>"
				htmlStr+="<td>"+appList[i].entertime+"</td>"
				htmlStr+="<td>"+appList[i].applicanttable.state+"</td>"
				htmlStr+="</tr>"
			}
			/*$.each(map.applicanttableList,function(index,obj){		

			});*/
			//展示到页面上
			$("tbody").html(htmlStr);
		},
		error:function(){
			console.log("数据返回失败");
		}		
	});


})